﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Ynpc:Npc
    {
       public string item;
       
        public Ynpc()
        {

        }
        public Ynpc(string name, NPCType type, string item) : base(name, type)
        {
           
            this.item = item;
        }
        public override void Giao()
        {
            Console.WriteLine("梦琳：{0}，我这里有{1}，你吃吗？", this.name, this.item);


        }

     
        }
    }

